﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Workflow.Common.Dao;
using Workflow.Model;

namespace Workflow.IDAO
{
	public interface IRoleDao : IRepositoryBase<Role>
	{
		/// <summary>
		/// 取得组对应的权限
		/// </summary>
		/// <param name="groupCode"></param>
		/// <returns></returns>
		IList<Role> GetRolesForGroup(int groupCode);
	}
}
